export default {
  install(Vue) {
    Vue.mixin({
      methods: {
        appMessage(message = "操作成功", status = 0) {
          this.$store.commit("app/SET_MESSAGE", { message, status })
        }
      }
    })
  }
}
